import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
//引入echarts
import echarts from 'echarts'
//引入axios
import axios from 'axios'
Vue.config.productionTip = false;
//给Vue实例原型添加echarts
Vue.prototype.$echarts = echarts;
//给Vue实例原型添加axios
Vue.prototype.$axios = axios;
//配置axios的基本请求路径
axios.defaults.baseURL='http://t.weather.sojson.com/api/weather/city/';
// Vue.prototype.$store = store;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
